package com.arc.spring.dao.impl;

import com.arc.spring.dao.UserDao;
import org.springframework.stereotype.Repository;

/**
 * @author YangYunhe
 * @date 2024/12/29
 * @description
 */
@Repository
public class UserDaoImpl2 implements UserDao {

    @Override
    public int addUser(int userId, String userName) {
        System.out.println(this.getClass().getName() + " add user(id=" + userId + ",userName=" + userName + ")");
        return 1;
    }
}
